package com.sifa.springcloud.myHandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.sifa.springcloud.entities.CommentResult;

public class CustomerBlockHandler {

    public static CommentResult handlerException(BlockException blockException){
        return new CommentResult(4444,"用户自定义的处理1");
    }
    public static CommentResult handlerException2(BlockException blockException){
        return new CommentResult(4444,"用户自定义的处理2");
    }
}
